package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.OrderRespMapper;
import com.qd.pay.model.OrderResp;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class OrderRespRepository extends BaseService<OrderRespMapper, OrderResp> {

    public boolean isExists(String respId) {
        return getBaseMapper().exists(new QueryWrapper<OrderResp>().eq("resp_id", respId));
    }
}